Graph Modelling Language
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
top
Contents
β’ Example
β’ See also
β’ References
β’ External links
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Example
A simple graph in GML format:
graph [
comment "This is a sample graph"
directed 1
id 42
label "Hello, I am a graph"
node [
id 1
label "node 1"
thisIsASampleAttribute 42
]
node [
id 2
label "node 2"
thisIsASampleAttribute 43
]
node [
id 3
label "node 3"
thisIsASampleAttribute 44
]
edge [
source 1
target 2
label "Edge from node 1 to node 2"
]
edge [
source 2
target 3
label "Edge from node 2 to node 3"
]
edge [
source 3
target 1
label "Edge from node 3 to node 1"
]
]
Applications supporting GML
β’ Cytoscape, an open source bioinformatics software platform for visualizing molecular interaction networks, loads and save previously-constructed interaction networks in GML.
β’ igraph, an open source network analysis library with interfaces to multiple programming languages.
β’ Gephi, an open source graph visualization and manipulation software.
β’ Graph-tool, a free Python module for manipulation and statistical analysis of graphs.
β’ Tulip (software) is a free software in the domain of information visualisation capable of manipulating huge graphs (with more than 1.000.000 elements).
β’ yEd, a free Java-based graph editor, supports import from and export to GML.
β’ Wolfram Language, a general very high-level programming language, supports GML import and export.
See also
References
cite-ref-1[1]
cite-note-11. β Plenz, M., Frank, A., Graph Language Models, 2401.07105, cs.CL, 2024, https://arxiv.org/abs/2401.07105, access date: 2025-07-03
External links
β’ GML: A portable Graph File Format, Michael Himsolt - 2010/11/30 (archived version)
β’ Unravelling Graph-Exchange File Formats, by Matthew Roughan and Jonathan Tuke, 2015, https://arxiv.org/pdf/1503.02781.pdf